//
//  FXMessageController.swift
//  微博(Swift)
//
//  Created by V on 15/12/26.
//  Copyright © 2015年 V. All rights reserved.
//

import UIKit

class FXMessageController: FXVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if userLogin == false {
            visitorView.setupInfo("visitordiscover_image_message", text: "我所理解的生活，就是和喜欢的一切在一起。")
            return
        }
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "发现群", target: self, action: "discoverGroup")

    }
    
    func discoverGroup(){
        let vc = FXTempViewController()
        navigationController?.pushViewController(vc, animated: true)
    }

    
}
